package com.lg.mengbase.api;

import com.lg.mengbase.entity.FixInfo;
import com.lg.mengbase.entity.ResponseBase;

import io.reactivex.Observable;
import retrofit2.http.POST;
import retrofit2.http.Query;

/**
 * Created by Administrator on 2017/5/13.
 */

public interface ApiService {
    String BASE_URL = "http://192.168.1.4:8080/MengUpload/";
//    @POST("match/sysAward/getAdverts.do")
//    Observable<BaseResponseData<List<Adverts>>> getAdverts(@Body RequestBody body);
    @POST("check_fix")
    Observable<ResponseBase<FixInfo>> checkFix(@Query("phoneBrand") String phoneBrand,@Query("phoneModel") String phoneModel,
                                               @Query("deviceId") String deviceId,@Query("sdkVersionCode") String sdkVersionCode,
                                               @Query("appVersionCode") String appVersionCode);
}
